// Remove the "folders/" prefix from the folder ID
if folder, ok := d.GetOkExists("folder"); ok {
  if err := d.Set("folder_id", strings.TrimPrefix(folder.(string), "folders/")); err != nil {
  	return nil, fmt.Errorf("Error setting folder_id: %s", err)
  }
}
// The feed object must be under the "feed" attribute on the request.
newObj := make(map[string]interface{})
newObj["feed"] = obj
return newObj, nil